<?php
namespace Common\Org\Video;
class Video
{
    /*******创蓝VIP对接****/
    protected $access_id;
    protected $access_key;

    public function __construct($config = array())
    {
        $driver = C('videoDriver');
        $class = strpos($driver, '\\') ? $driver : 'Common\Org\\Video\\Driver\\' . ucfirst(($driver));
        $this->Palyer = new $class();
    }

    public function __call($name, $arguments)
    {
        return $this->Palyer->$name($arguments[0]);
    }


}